package com.hy.${packageCode}.server.common.dto;

import com.fasterxml.jackson.annotation.JsonCreator;
import lombok.*;
import lombok.extern.jackson.Jacksonized;

import java.io.Serial;
import java.io.Serializable;
<#if containDate>
import java.time.LocalDateTime;
</#if>

@Getter
@Builder
@ToString
@Jacksonized
@NoArgsConstructor
@AllArgsConstructor(onConstructor_ = {@JsonCreator})
public class ${classCode}DTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

<#list parameters as parameter>
    /**
     * ${parameter.description}
     */
    private ${parameter.fieldType} ${parameter.fieldName};

</#list>

}
